home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 55375 / 55375.xpi / chrome / chromeFiles / content / btBoom_coolhandnuke.xul next >
Extensible Markup Language  |  2009-11-15  |  4KB  |  97 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="bindings/btfeedreader3.css" type="text/css"?>
  3. <?xml-stylesheet href="bindings/btbutton.css" type="text/css"?>
  4. <?xml-stylesheet href="bindings/btboombutton.css" type="text/css"?>
  5. <?xml-stylesheet href="bindings/bttoolbarbutton.css" type="text/css"?>
  6. <?xml-stylesheet href="bindings/btsearchbar3.css" type="text/css"?>
  7. <!DOCTYPE overlay [
  8. <!ENTITY % btClientDTD SYSTEM "../locale/btClient.dtd">
  9. <!ENTITY % btBoomDTD SYSTEM "../locale/btBoom_coolhandnuke.dtd">
  10. %btClientDTD;
  11. %btBoomDTD;
  12. ]>
  13. <overlay
  14.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  15.     xmlns:html="http://www.w3.org/1999/xhtml">
  16.   <script type="application/x-javascript;version=1.7">
  17.   (function (brandObject) {
  18.     try {
  19.       BrandThunder.initialize(brandObject);
  20.     } catch (ex) {}
  21.     function firstRun() {
  22.       if (document.getElementById("bt-&btBoom;-feedreader")) {
  23.         document.getElementById("bt-&btBoom;-feedreader").startFeedRotation();
  24.       }
  25.       window.removeEventListener("load", firstRun, false);
  26.     }
  27.     window.addEventListener("load", firstRun, false);
  28.   })(BrandThunder.clients.&btClient;);
  29.   </script>
  30.   <toolbox id="navigator-toolbox" bttoolbar="true">
  31.     <!-- Toolbar ID must be unique to this toolbar -->
  32.     <toolbar id="bt-&btBoom;-toolbar"
  33.               insertafter="nav-bar"
  34.               bt-toolbarname="&toolbar.label;"
  35.               class="bt_toolbar chromeclass-toolbar"
  36.               context="toolbar-context-menu"
  37.               hidden="false"
  38.               btClientShortName="&btBoom;"
  39.               persist="hidden">
  40.       <!-- Customize buttons here -->
  41.       <btboombutton id="bt-&btBoom;-boombutton"
  42.                        brand="&btClient;"
  43.                        image="&btBoom;.png"
  44.                        btBoomBundle="btBoomBundle_&btBoom;"/>
  45.       <btsearchbar3 brand="&btClient;"
  46.                      id="bt-&btBoom;-searchbar"/>
  47.       <bttoolbarbutton id="bt-&btBoom;-button-1"
  48.                        brand="&btClient;"
  49.                        btBoomBundle="btBoomBundle_&btBoom;"
  50.                        class="bt-default"/>
  51.       <bttoolbarbutton id="bt-&btBoom;-button-2"
  52.                        brand="&btClient;"
  53.                        btBoomBundle="btBoomBundle_&btBoom;"
  54.                        class="bt-default"
  55.                        type="menu"/>
  56.       <bttoolbarbutton id="bt-&btBoom;-button-3"
  57.                        brand="&btClient;"
  58.                        btBoomBundle="btBoomBundle_&btBoom;"
  59.                        class="bt-default"/>
  60.       <bttoolbarbutton id="bt-&btBoom;-button-4"
  61.                        brand="&btClient;"
  62.                        btBoomBundle="btBoomBundle_&btBoom;"
  63.                        class="bt-default"
  64.                        type="menu"/>
  65.       <toolbarspring/>
  66.       <btfeedreader3 id="bt-&btBoom;-feedreader"
  67.                     numitems="10"
  68.                     brand="&btClient;" flex="1">
  69.         <btfeed src="http://www.google.com/reader/public/atom/user/17868530068811566155/state/com.google/alerts/2263499639721735728" title="News"/>
  70.         <btfeed src="http://www.coolhandnuke.com/jobboard/rss.aspx" title="Jobs"/>
  71.         <btfeed src="http://www.coolhandnuke.com/RSS.aspx?moduleid=450" title="Blog"/>
  72.       </btfeedreader3>
  73.       <btbutton brand="&btClient;"
  74.                 btBoomBundle="btBoomBundle_&btBoom;"
  75.                 btClientBundle="btClientBundle_&btClient;"/>
  76.     </toolbar>
  77.   </toolbox>
  78.   <menupopup id="viewSidebarMenu">
  79.     <menuitem id="bt-&btBoom;-sidebar-menu" label="&sidebar.label;" observes="bt-&btBoom;-sidebar"/>
  80.   </menupopup>
  81.   <broadcasterset id="mainBroadcasterSet">
  82.     <broadcaster id="bt-&btBoom;-sidebar"
  83.                  autoCheck="false"
  84.                  type="checkbox"
  85.                  group="sidebar"
  86.                  sidebarurl="chrome://&btClient;boom/content/btSidebar.xul"
  87.                  sidebartitle="&sidebar.label;"
  88.                  brand="&btClient;"
  89.                  btBoomBundle="btBoomBundle_&btBoom;"
  90.                  oncommand="toggleSidebar('bt-&btBoom;-sidebar');if (!event.target.hasAttribute('checked')) document.getElementById('main-window').removeAttribute('btSidebar');"/>
  91.   </broadcasterset>
  92.   <stringbundleset id="stringbundleset">
  93.     <stringbundle id="btBoomBundle_&btBoom;" 
  94.         src="chrome://&btClient;boom/locale/btBoom_&btBoom;.properties"/>
  95.   </stringbundleset>
  96. </overlay>
  97.